package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author durant
 * @create 2021-09-19 21:00
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_ok(Integer id) {
        return "------PaymentFallbackService fallback   ok";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "------PaymentFallbackService fallback  time out";
    }
}
